package com.cbb.lease.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TbCar)实体类
 *
 * @author makejava
 * @since 2021-07-23 15:23:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "车辆实体类")
@TableName(value = "tb_car")
public class TbCar implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "汽车id")
    private Integer id;


    @ApiModelProperty(value = "汽车名称")
    private String carName;
    /**
     * 类型
     */
    @ApiModelProperty(value = "汽车类型")
    private Integer type;

    @ApiModelProperty(value = "汽车车牌号")
    private String carPlate;

    @ApiModelProperty(value = "门店id")
    private Integer brandId;

    @ApiModelProperty(value = "配置id")
    private Integer configId;
    /**
     * 简介
     */
    @ApiModelProperty(value = "汽车简介")
    private String intro;
    /**
     * 车辆识别码
     */
    @ApiModelProperty(value = "车辆识别码")
    private String vin;

    @ApiModelProperty(value = "车辆进价")
    private Double buyPrice;
    /**
     * 门店编号
     */
    @ApiModelProperty(value = "门店编号")
    private Integer shopId;
    /**
     * 车辆状态(可租1，维修中2，租出3，删除4)
     */
    @ApiModelProperty(value = "车辆状态")
    private Integer state;
    /**
     * 价钱
     */
    @ApiModelProperty(value = "租车价")
    private Double price;




}
